/*
 * XML Type:  RecurringIntraTransactionResponse
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.RecurringIntraTransactionResponse
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML RecurringIntraTransactionResponse(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class RecurringIntraTransactionResponseImpl extends net.ofx.types.x2003.x04.impl.AbstractTransactionResponseImpl implements net.ofx.types.x2003.x04.RecurringIntraTransactionResponse
{
    
    public RecurringIntraTransactionResponseImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName RECINTRARS$0 = 
        new javax.xml.namespace.QName("", "RECINTRARS");
    private static final javax.xml.namespace.QName RECINTRAMODRS$2 = 
        new javax.xml.namespace.QName("", "RECINTRAMODRS");
    private static final javax.xml.namespace.QName RECINTRACANRS$4 = 
        new javax.xml.namespace.QName("", "RECINTRACANRS");
    
    
    /**
     * Gets the "RECINTRARS" element
     */
    public net.ofx.types.x2003.x04.RecurringIntraResponse getRECINTRARS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraResponse)get_store().find_element_user(RECINTRARS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "RECINTRARS" element
     */
    public boolean isSetRECINTRARS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RECINTRARS$0) != 0;
        }
    }
    
    /**
     * Sets the "RECINTRARS" element
     */
    public void setRECINTRARS(net.ofx.types.x2003.x04.RecurringIntraResponse recintrars)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraResponse)get_store().find_element_user(RECINTRARS$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.RecurringIntraResponse)get_store().add_element_user(RECINTRARS$0);
            }
            target.set(recintrars);
        }
    }
    
    /**
     * Appends and returns a new empty "RECINTRARS" element
     */
    public net.ofx.types.x2003.x04.RecurringIntraResponse addNewRECINTRARS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraResponse)get_store().add_element_user(RECINTRARS$0);
            return target;
        }
    }
    
    /**
     * Unsets the "RECINTRARS" element
     */
    public void unsetRECINTRARS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RECINTRARS$0, 0);
        }
    }
    
    /**
     * Gets the "RECINTRAMODRS" element
     */
    public net.ofx.types.x2003.x04.RecurringIntraModResponse getRECINTRAMODRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraModResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraModResponse)get_store().find_element_user(RECINTRAMODRS$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "RECINTRAMODRS" element
     */
    public boolean isSetRECINTRAMODRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RECINTRAMODRS$2) != 0;
        }
    }
    
    /**
     * Sets the "RECINTRAMODRS" element
     */
    public void setRECINTRAMODRS(net.ofx.types.x2003.x04.RecurringIntraModResponse recintramodrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraModResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraModResponse)get_store().find_element_user(RECINTRAMODRS$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.RecurringIntraModResponse)get_store().add_element_user(RECINTRAMODRS$2);
            }
            target.set(recintramodrs);
        }
    }
    
    /**
     * Appends and returns a new empty "RECINTRAMODRS" element
     */
    public net.ofx.types.x2003.x04.RecurringIntraModResponse addNewRECINTRAMODRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraModResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraModResponse)get_store().add_element_user(RECINTRAMODRS$2);
            return target;
        }
    }
    
    /**
     * Unsets the "RECINTRAMODRS" element
     */
    public void unsetRECINTRAMODRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RECINTRAMODRS$2, 0);
        }
    }
    
    /**
     * Gets the "RECINTRACANRS" element
     */
    public net.ofx.types.x2003.x04.RecurringIntraCancellationResponse getRECINTRACANRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraCancellationResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraCancellationResponse)get_store().find_element_user(RECINTRACANRS$4, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "RECINTRACANRS" element
     */
    public boolean isSetRECINTRACANRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RECINTRACANRS$4) != 0;
        }
    }
    
    /**
     * Sets the "RECINTRACANRS" element
     */
    public void setRECINTRACANRS(net.ofx.types.x2003.x04.RecurringIntraCancellationResponse recintracanrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraCancellationResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraCancellationResponse)get_store().find_element_user(RECINTRACANRS$4, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.RecurringIntraCancellationResponse)get_store().add_element_user(RECINTRACANRS$4);
            }
            target.set(recintracanrs);
        }
    }
    
    /**
     * Appends and returns a new empty "RECINTRACANRS" element
     */
    public net.ofx.types.x2003.x04.RecurringIntraCancellationResponse addNewRECINTRACANRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.RecurringIntraCancellationResponse target = null;
            target = (net.ofx.types.x2003.x04.RecurringIntraCancellationResponse)get_store().add_element_user(RECINTRACANRS$4);
            return target;
        }
    }
    
    /**
     * Unsets the "RECINTRACANRS" element
     */
    public void unsetRECINTRACANRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RECINTRACANRS$4, 0);
        }
    }
}
